<?php
if(isset($_SESSION['user'])){//LOGADO
	$user = $_SESSION['user'];
	$id = getUserId($user);
}else{
	header("location:/home/p/home");
}
if($action == 'add'){
	$acao = 'Adicionar';
}
if($module == 'system'){
	$modulo = 'Sistema';	
}elseif($module == 'supplement'){
	$modulo = 'Suplemento';
}elseif($module == 'chronicle'){
	$modulo = 'Cr&ocirc;nica';
}
?>
<div id="content_box" class="content">
<h5><?php echo $acao." ".$modulo; ?></h5>
<?php require("forms/frm_$action"."_"."$module.php"); ?>
</div>
<div id="right_box">
	<div id="box_up">
	<?php require("homeBoxRightUp.php"); ?>
	</div>
	<div id="box_down">
	<?php require("homeBoxRightDown.php"); ?>
	</div>
</div>